﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Legazpi.Payroll.DataAccess.DataObjects;
using Ninject;
using Legazpi.Payroll.BusinessLogic.Services.Interfaces;
using Legazpi.Payroll.BusinessLogic.Services;

namespace Legazpi.Payroll.Web.Helpers
{
    public static class PayrollHelper
    {
        public static PayrollDate GetActivePayroll()
        {
            var _payrollDateService = new PayrollDateService();
            return _payrollDateService.GetActivePayroll();
        }
        public static PayrollDate GetPreviousPayroll()
        {
            var _payrollDateService = new PayrollDateService();
            return _payrollDateService.GetActivePayroll();
        }
    }
}